package com.cisetech.mapper.bobocai;


import java.util.List;

import org.springframework.stereotype.Component;

import com.cisetech.mapper.MyBatisRepository;
import com.cisetech.vo.Page;
import com.cisetech.vo.bobocai.LContent;


@Component
@MyBatisRepository
public interface LContentMapper {

    /*int updateByPrimaryKeySelective(LContent record);

    int updateByPrimaryKeyWithBLOBs(LContent record);

    int updateByPrimaryKey(LContent record);*/
	
	//添加文章内容
	public int addContent(LContent content); 
	//查询文章列表
	public List<LContent> findContent(LContent content); 
	//修改文章内容
	public int updateContent(LContent content); 
	
	//根据栏目id查询内容列表
	public List<LContent> getlist(LContent content);
	
	//根据栏目id查询一共有多少条
	Integer findListCount(LContent content);
	
	//栏目查询文章列表
	public List<LContent> findColumnContent(LContent content);
	//删除文章
	public int deletContents(String id);
	
}